<?php $cateName = ( isset($this->cateInfo["catename"]) )? $this->cateInfo["catename"]: "Thể Thao"; 
if(is_array($this->arrNewVideoResult) && count($this->arrNewVideoResult)){
?>
<div id="cate_video_moi_chuyenmuc" class="football box_width_common">
    <div class="title_cate">
        <p class="left">Video mới chuyên mục <?php echo $cateName;?></p>
    </div>
    <div><p style="padding-top: 15px; display: none;" id="loading_video_id"> Đang tải dữ liệu...</p></div>
    <div class="box_width_common content_cate_video" id="content_list_video">
        <ul class="list_video_155 box_width_common">
            <?php 
            $count = count($this->arrNewVideoResult);
            $remainder = 5 - $count % 5;
            if($remainder == 5)
                $remainder = 0;
            foreach($this->arrNewVideoResult as $video){
            ?>
            <li>
                <div class="block_image_thumb"> 
                    <a href="<?php echo $this->Articleurl($video); ?>" title="<?php echo $video["title"];?>" alt="<?php echo $video["title"];?>">
                        <img onerror="this.src='<?php echo $this->Imageurlvideo('notfound.jpg', $this->imageSize['size3']);?>'" src="<?php echo $this->Imageurlvideo($video['thumbnail_url'], $this->imageSize['size3']);?>" width="155" height="116" title="<?php echo $video["title"];?>" alt="<?php echo $video["title"];?>" />
                        <span class="icon_play">&nbsp;</span>
                    </a>
                </div>
                <h2> <a href="<?php echo $this->Articleurl($video); ?>" title="<?php echo $video["title"];?>" alt="<?php echo $video["title"];?>"  class="txt_black_hover_blue"><?php echo $video['title'];?></a> </h2>
                <p class="txt_gray txt_11">Lượt xem: <?php echo $this->Articleview($video); ?></p>
            </li>
            <?php 
            } 
            for($i = 0; $i < $remainder; $i++)
                echo '<li>&nbsp;</li>';
            ?>
        </ul>
        <?php //if($this->total > LIMIT_NEW_VIDEO_SITE){ ?>
        <div class="more_bottom_detal box_width_common">
            <?php echo $this->Pagination;?>
        </div>
        <?php //} ?>
        <div class="clear">&nbsp;</div>
    </div>
</div>
<?php }else{ ?>
<div id="cate_video_moi_chuyenmuc" class="football box_width_common">
    <div class="title_cate">
        <p class="left">Video mới chuyên mục <?php echo $cateName;?></p>
    </div>
    <div><p style="padding-top: 15px; display: none;" id="loading_video_id"> Đang tải dữ liệu...</p></div>
    <div class="box_width_common content_cate_video" id="content_list_video"><p style="padding-top: 15px;" class="txt_gray txt_11">Chuyên mục này chưa có video</p></div>
</div>
<?php } ?>